﻿using System;
using System.Text;

namespace BizElements.Core.ProviderComponents
{
    sealed class GenericColumnRenderer : IColumnRenderer
    {
        public void RenderColumnName(IDbColumn column, StringBuilder output)
        {
            // Special characters are not handled.
            output.Append(column.ColumnName);
        }

        public void RenderAlias(IDbColumn column, StringBuilder output)
        {
            // Special characters are not handled.
            output.Append(column.Alias);
        }
    }
}